<!doctype html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>EDU博客首页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="stylesheet" type="text/css" th:href="@{/blog/css/bootstrap.min.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/blog/css/nprogress.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/blog/css/style.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/blog/css/font-awesome.min.css}">
    <link rel="apple-touch-icon-precomposed" th:href="@{/blog/images/icon.png}">
    <link rel="shortcut icon" th:href="@{/blog/images/favicon.ico}">
    <script th:src="@{/blog/js/jquery-2.1.4.min.js}"></script>
    <script th:src="@{/blog/js/nprogress.js}"></script>
    <script th:src="@{/blog/js/jquery.lazyload.min.js}"></script>
</head>

<body class="user-select">
<header class="header">
    <nav class="navbar navbar-default" id="navbar">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#header-navbar" aria-expanded="false">
                <span class="sr-only"></span> <span class="icon-bar"></span>
                <span class="icon-bar"></span> <span class="icon-bar"></span>
            </button>
        </div>
        <div class="container">
            <div class="collapse navbar-collapse" id="header-navbar">
                <form class="navbar-form visible-xs" th:action="@{/Search}" method="post">
                    <div class="input-group">
                        <input type="text" name="articletitle" class="form-control" placeholder="请输入关键字"
                               maxlength="20" autocomplete="off">
                        <span class="input-group-btn">
								<button class="btn btn-default btn-search" name="search" type="submit">搜索</button>
							</span>
                    </div>
                </form>
                <ul class="nav navbar-nav navbar-right">
                    <li>
                        <a th:href="@{/listBlog}">博客首页</a>
                    </li>
                    <li>
                        <a th:href="@{/createBlog}">我要写作</a>
                    </li>
                    <li>
                        <a th:href="@{/listBlog}">我的信息</a>
                    </li>
                    <li>
                        <a th:href="@{/listBlog}">返回导航页</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
</header>
<section class="container">
    <div class="content-wrap">
        <div class="content">
            <div class="title">
                <h3>博客列表</h3>
            </div>
            <tr  th:each="article:${articles}">
                <article class="excerpt excerpt-4" style="">
                    <a class="focus" th:href="@{/showBlog(id=${article.id})}" target="_blank">
                        <img class="thumb" data-original="images/201610181739277776.jpg"  th:src="@{'/images/'+${article.titlephoto}}" style="display: inline;"></a>
                    <header>
                        <a class="cat" th:href="@{/#}" >IT相关<i></i></a>
                        <h2><a th:href="@{/showBlog(id=${article.id})}" target="_blank"  th:text="${article.articletitle}">用DTcms做一个独立博客网站（响应式模板）</a>
                        </h2>
                    </header>
                    <p class="meta">
                        <i class="glyphicon glyphicon-time"></i>
                        <time class="time" th:text="${#dates.format(article.articletime,'yyyy-MM-dd HH:mm;ss')}" title="发布时间"> 2016-10-14</time>
                        <i class="glyphicon glyphicon-heart-empty"></i><span class="views"th:text="${article.likecount}"  title="点赞数"> 216</span>
                        <i class="glyphicon glyphicon-comment"></i>
                        <a class="comment"  target="_blank" th:text="${article.commentscount}"  title="评论">4</a>
                    </p>
                    <p class="note" th:text="${article.brief}">用DTcms做一个独立博客网站（响应式模板），采用DTcms V4.0正式版（MSSQL）。开发环境：SQL2008R2+VS2010。DTcms V4.0正式版功能修复和优化：1、favicon.ico图标后台上传。（解决要换图标时要连FTP或者开服务器的麻烦）</p>
                </article>
            </tr>
            <nav class="pagination" style="display: none;">
                <ul>
                    <li class="prev-page"></li>
                    <li class="active"><span>1</span></li>
                    <li>
                        <a href="?page=2">2</a>
                    </li>
                    <li class="next-page">
                        <a href="?page=2">下一页</a>
                    </li>
                    <li><span>共 2 页</span></li>
                </ul>
            </nav>
        </div>
    </div>
    <aside class="sidebar">
        <div class="fixed">
            <div class="widget widget-tabs">
                <ul class="nav nav-tabs" role="tablist">
                    <li role="presentation" class="active">
                        <a href="#notice" aria-controls="notice" role="tab" data-toggle="tab">统计信息</a>
                    </li>
                    <li role="presentation">
                        <a href="#contact" aria-controls="contact" role="tab" data-toggle="tab">联系我们</a>
                    </li>
                </ul>
                <div class="tab-content">
                    <div role="tabpanel" class="tab-pane contact active" id="notice">
                        <h2>博客总数:
                            888篇
                        </h2>
                        <h2>网站运行:
                            <span id="sitetime">88天 </span></h2>
                    </div>
                    <div role="tabpanel" class="tab-pane contact" id="contact">
                        <h2>QQ:382643892748923
                            <a href="" target="_blank" rel="nofollow" data-toggle="tooltip" data-placement="bottom" title=""  data-original-title="QQ:"></a>
                        </h2>
                        <h2>Email:23423432423
                            <a href="#" target="_blank" data-toggle="tooltip" rel="nofollow" data-placement="bottom" title=""  data-original-title="#"></a></h2>
                    </div>
                </div>
            </div>
            <div class="widget widget_search">
                <form class="navbar-form" th:action="@{/Search}" method="post">
                    <div class="input-group">
                        <input type="text" name="articletitle" class="form-control" size="35" placeholder="请输入关键字" maxlength="15" autocomplete="off">
                        <span class="input-group-btn">
		                            <button class="btn btn-default btn-search" name="search" type="submit">搜索</button>
	                        	</span> </div>
                </form>
            </div>
        </div>
        <div class="widget widget_hot">
            <h3>最新评论文章</h3>
            <ul>
                <li>
                    <a title="用DTcms做一个独立博客网站（响应式模板）" th:href="@{/#}"><span class="thumbnail">
				<img class="thumb" data-original="images/201610181739277776.jpg" th:src="@{/blog/images/201610181739277776.jpg}" alt="用DTcms做一个独立博客网站（响应式模板）"  style="display: block;">
			</span><span class="text">用DTcms做一个独立博客网站（响应式模板）</span><span class="muted"><i class="glyphicon glyphicon-time"></i>
				2016-11-01
			</span><span class="muted"><i class="glyphicon glyphicon-eye-open"></i>88</span></a>
                </li>
            </ul>
        </div>
        <div class="widget widget_sentence">
            <a href="#" target="_blank" rel="nofollow">
                <img style="width: 100%" th:src="@{/blog/images//201610241224221511.jpg}" alt="专业网站建设"></a>
        </div>
        <div class="widget widget_sentence">
            <a th:href="@{/#}" target="_blank" rel="nofollow">
                <img style="width: 100%" th:src="@{/blog/images/ad.jpg}" alt="MZ-NetBlog主题"></a>
        </div>
    </aside>
</section>
<footer class="footer">
    <div id="gotop">
        <a class="gotop"></a>
    </div>
</footer>
<script th:src="@{/blog/js/bootstrap.min.js}"></script>
<script th:src="@{/blog/js/jquery.ias.js}"></script>
<script th:src="@{/blog/js/scripts.js}"></script>
</body>

</html>